working
PWM1 for 1,pwm2 0 o'clock, Q1 conduction and Q2 not conduction, node 1 is low and 2 is high, Q14 and Q15 conduction, motor counterclockwise rotation
PWM1 for 0,pwm2 1 o'clock, Q1 is not conduction and Q2 conduction, Node 1 is high and 2 is low, Q13 and Q16 conduction, motor clockwise rotation
C language code:
Function: Can be the motor is turning, reversing, stop.#include #define UCHAR unsigned char#define UINT unsigned int
Sbit key_up=p3^2; Positive Turn buttonSbit key_down=p3^3; Inver
I was through arduous hardships, Ba Shan Wade Ah, finally finished this page, but this also want to thank the JSP, because yesterday when the whim, suddenly want to learn JSP, so find a few articles, after reading feel javabean too cow x, Feel a bit like I usually write ASP when the processing mode: is a page layout, another background processing.
Just in time to see a common approach to it, so I also designed an ASP, but only in the SQL Server, because I often use SQL database.
I wrote the fo
register when wait = 1. When the wait = 0, write the fctl1 register as an access conflict and set it to accvifg. When busy is set to 1, access conflicts occur in all the written fctl2 registers. When busy = 1, all fctlx can be read without causing access conflict. Flash interrupt: The Flash Controller has two interrupt sources: keyv and accvifg. Accvifg is set when access conflicts occur. When the accvifg is re-enabled after the flash operation is co
DirectoryWebBrowser loading a remote Web pageSecond, WebBrowser loading local page, note: Can not load local style CSS and script js fileThird, WebBrowser JavaScript error to hide Web pagesFour, the right mouse button screen, CTRL + N, SHIFT+F10, F11, F5 refresh, backspace keyV. WPF programs interacting with Web page javascriptVI. Create server, provide data interface, Script, CSS file
WebBrowser loading a remote Web pageWbrexam.source = new Uri
the background to execute. Next, close the terminal panel directly. This is equal to the system disconnection, just the operation of the document has not been saved to.(3) Warning message when openingAfter the system is disconnected, open the document again vim filename, a warning message appearsQuestion one: You may edit this file with others at the same time-find another person and ask him to end the operation of the document. Or choose to turn on Read only (O) modeProblem two: The system is
help reduce the number of hash collisionstransient int hashseed = 0;
As seen in the member variable, the default initial capacity of HashMap is 16, and the default load factor is 0.75. And threshold is the set can store the value of the value of the threshold, the default is the initial capacity * load factor, that is, 16*0.75=12, when the key value to exceed the threshold, means that this time the hash table is saturated, and then continue to add elements will increase the hash conflict, Thu
First, DNS configuration
Type
name
value
TTL
A
Mail
128.199.254.32
1 hours
Mx
@
mail.example.com ( priority:Ten)
1 hours
Txt
@
v=spf1 mx:mail.example.com ip4:128.199.254.32 ~all
1 hours
TXT
Mail._domain
KeyV=dkim1;k=rsa; P=migfma0gcsqgsi ...
1 hours
Where you can configure A and MX records first,
, [bool])Function: Reverse conversion of JSON format dataParameter description:The first parameter is JSON-formatted dataThe second argument is a Boolean-type value, and if true, returns the array data of type array and, if False or not, returns an instance (object) of the Stdclass class directlyDo not add true parameter effectCase: Complete the API call to history today via Php+jsonhttp://www.juhe.cn/aggregating dataA) Copy the URL address http://japi.juhe.cn/toh/toh?key= the
();
System. out. println (keyv + ":" + valuev );
}
}
6. Generic usage in methods
* Defines an array to exchange array elements at a specified position.
* The method logic is the same, but the data types are different. In this case, the generic method is used.
*/*
* To use the generic method, you need to define a type that uses uppercase letters to
folder to the/data/wwwroot/rtmp/folderMonitoring address: Http://localhost:8080/statThird, push the flow end 1. Download ObsAddress: Https://obsproject.com/download2. Configuring ObsPush stream Address: rtmp://192.168.240.128/mytv/#记得修改IP, the sameAdditional Configuration reference: Http://www.douyu.com/cms/zhibo/201311/13/250.shtml3. Start pushing the streamThe process of "publishing" status can be heard at this timeNote: Remember to open 1935 portsIv. receiving end 1. Download JwplayerAddress
, the element node is appended to the tail first. if((e = p.next) = = null) {P.next = NewNode (hash, key, value, NULL);//When the number of nodes traversed is greater than 8 o'clock, the tree structure is taken. if(Bincount >= treeify_threshold-1)//-1 for 1stTreeifybin (tab, hash); Break;}//If we find a node with the same hash and key value as the element we are inserting, stop the traversal. At this point, E has recorded the node if(E.hash = = Hash (k = e.key) = = Key | | (Key! = null key.equ
otherType.Disadvantages of using object:1. Forced type conversions are required2. Easy to appear classcastexceptionWhat?By introducing generics, you can ensure that the compile-time type is secure and run-time is less thrownThe possibility of classcastexception.How?Generic class:When declaring a class, specify a generic type parameterpublic class TestPrivate T1 foo;}The type parameter T can be any valid identifierGeneral Conventions:T---TypeE---ElementK---K
I write this demo just to go though some key concepts of computer graphics.The following features are implemented in this demo:1) transform mesh from local space to world space, then to the camera space;2) Do projection to convert 3d triangles to 2d triangles.3) Do clip in the clip window space, and split into two triangles if need;4) Shader 2D triangle with diffuse texture or vertex color;5) A float array used fo depth buffer;6) Back surface culling in world space or camera space;6) Texture Add
improved by some
Directly with the original hashcode
Iv. generic type
1 , Concept:Generics to support the creation of classes that can be parameterized by type. You can think of a type parameter as a placeholder for the type that you specify when you use a parameterized type, as if the form parameter of the method is a placeholder for the value passed at run time.2 , generic values represent the meaningT typeE elementK KeyV
, we can use the command to split the window, each child window display a fileCommand: Vim-o filename1 filename2 Horizontal Split windowVim-o filename1 filename2 Vertical Split windowIn this way, it is very convenient to copy and cut between the contents of each file, here by the way simply mention copy, cut and paste Operations commandYY the copy cursor is in the rowDD clipping cursor is in the row5yy Copy the next five lines of text counting from the line where the cursor is located5DD clippin
' keyT ' t ' keyU ' u ' keyV ' V ' keyW ' W ' keyX ' x ' keyY ' y ' keyZ ' z ' keyNumLock NumLock KeyCapslock Casing Lock keyScrolllockscroll Lock keyRightShift Right Upper File buttonLeftshift Left upper File buttonRightcontrol the right CTRL keyLeftcontrol Left CTRL keyRightAlt Right ALT keyLeftalt Left ALT keyLeftapple left Apple keyLeftwindows left Windows keyRightapple Right Apple keyRightwindows Right Windows keyAltGr ALT gr KeyHelp buttonPrint
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.